using ThingsEdge.Exchange.Forwarders;

namespace Digitalmes.Infrastructure.Scada.Handlers;

/// <summary>
/// SCADA 消息通知接口。
/// </summary>
public interface IScadaTellHandler
{
    /// <summary>
    /// 处理请求数据
    /// </summary>
    /// <param name="context">通知数据上下文</param>
    /// <param name="cancellationToken"></param>
    /// <returns></returns>
    Task HandleAsync(NoticeContext context, CancellationToken cancellationToken = default);
}
